package com.co.server.service.user;

import com.co.common.service.BaseService;
import com.co.server.entity.user.TUserActive;

public interface TUserActiveService extends BaseService<TUserActive, Integer> {

	/**
	 * 根据email 查询最新用户激活信息
	 * @param email
	 * @return
	 */
	TUserActive queryLastByEmail(String email);

	/**
	 * 生成邮件验证码，并发送邮件
	 * @param email
	 * @param userName
	 */
	void addBindCodeByEmail(String email,String userName ,String userIp);
}